Make sure the wayland backend sets a new geometry when the client
resizes itself, otherwise the compositor won't be notified and may
revert to the old size on state changes.
Thanks to Jasper St. Pierre <jstpierre@mecheye.net> who pointed out the
problem in gtk+.
bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=755051
if (GDK_WINDOW_DESTROYED (window))
return;
- if (left == impl->margin_left && right == impl->margin_right &&
- top == impl->margin_top && bottom == impl->margin_bottom)
- return;
-
/* Reconfigure window to keep the same window geometry */
new_width = window->width -
(impl->margin_left + impl->margin_right) + (left + right);